package com.shujvku.test1.controller;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/*
 **@Author:刘淑钰
 **Created on 2021/11/26
 */
@ComponentScan
@RestController
public class TestController {
    @RequestMapping("/test")
    public String test(){
        return "test my favorite";
    }
}
